from bs4 import BeautifulSoup

file = 'D:\\idea_workspace\\python\\study-python-crawler\\test\\beautifulsoup\\find.html'


def test_find():
    with open(file, 'r') as f:
        #
        soup = BeautifulSoup(f, "html.parser")

        #
        links = soup.find_all(name="a")
        for link in links:
            print(type(link))
